<link rel="stylesheet" href="<?php echo $this->_var['css_path']; ?>/powerFloat.css" type="text/css" />
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/jquery-powerFloat.js"></script> 
<script type="text/javascript" src="<?php echo $this->_var['js_path']; ?>/common.js"></script> 
<div id="top">
  <div class="sub_top">
    <ul class="left">
      <li class="first"><a href="#">首页</a></li>
      <li><a href="#">客服中心</a></li>
      <li><a href="#">帮助中心 </a></li>
      <li><a href="#">收藏本页 </a></li>
      <li><a href="#">站内导航 </a></li>
    </ul>
    <ul class="right">
      <?php if (count ( $this->_var['user'] ) > 0): ?>
        <li class="first">欢迎来到氿上网！<a href="<?php echo $this->_var['site_url']; ?>user/base/index"><?php echo $this->_var['user']['username']; ?></a></li>
        <li><a href="<?php echo $this->_var['site_url']; ?>user/logout">退出</a></li>
      <?php else: ?>
       <li class="first"><a href="<?php echo $this->_var['site_url']; ?>user/login">登录</a></li>
       <li><a href="<?php echo $this->_var['site_url']; ?>user/register">注册</a></li>
      <?php endif; ?>
        <li id="top_user_center"><a href="<?php echo $this->_var['site_url']; ?>user/base">用户中心</a><b></b></li>
      
    </ul>
  </div>
</div>
<div class="clear"></div>

<div id="top_user_operation" style="display:none">
<ul>

<li> <a href="<?php echo $this->_var['site_url']; ?>user/base/profile">我的资料</a> </li>
<li> <a href="<?php echo $this->_var['site_url']; ?>user/collect/list">我的收藏</a> </li>
<li> <a href="<?php echo $this->_var['site_url']; ?>user/account/amount">我的账户</a> </li>
</ul>
  <div style="clear:both"></div>
</div>